package com.example.ioc.context;

import com.example.common.utils.Statistics;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class LApplicationRunner implements ApplicationRunner {

    private LApplicationRunner(){
        Statistics.logInfo(log);
    }

    @Override
    public void run(ApplicationArguments args) throws Exception {
        Statistics.logInfo(log, "run", args);
    }
}
